package com.cn.entity;

import java.sql.Date;
import java.math.BigDecimal;
import java.io.Serializable;
import java.sql.Timestamp;

public class AdvertisementEntity implements Serializable {
    private String ad_id;
    private String ad_url;
    private Timestamp ad_date;
    private String commodity_id;
    private Integer ad_show;

    public AdvertisementEntity(String ad_id, String ad_url, Timestamp ad_date, String commodity_id, Integer ad_show) {
        this.ad_id = ad_id;
        this.ad_url = ad_url;
        this.ad_date = ad_date;
        this.commodity_id = commodity_id;
        this.ad_show = ad_show;
    }

    public String getAd_id() {
        return ad_id;
    }

    public void setAd_id(String ad_id) {
        this.ad_id = ad_id;
    }

    public String getAd_url() {
        return ad_url;
    }

    public void setAd_url(String ad_url) {
        this.ad_url = ad_url;
    }

    public Timestamp getAd_date() {
        return ad_date;
    }

    public void setAd_date(Timestamp ad_date) {
        this.ad_date = ad_date;
    }

    public String getCommodity_id() {
        return commodity_id;
    }

    public void setCommodity_id(String commodity_id) {
        this.commodity_id = commodity_id;
    }

    public Integer getAd_show() {
        return ad_show;
    }

    public void setAd_show(Integer ad_show) {
        this.ad_show = ad_show;
    }

    public AdvertisementEntity() {

    }
}
